#include "color.h"

Color::Color() {}

Color::Color(Uint8 rojo,Uint8 verde, Uint8 azul) {
	color.r = rojo;
	color.g = verde;
	color.b = azul;
}

SDL_Color Color::ROJO() {

	SDL_Color rojo = {255,0,0};

	return rojo;
}

SDL_Color Color::VERDE() {

	SDL_Color verde = {0,255,0};

	return verde;
}

SDL_Color Color::AZUL() {

	SDL_Color azul = {0,0,255};

	return azul;
}

SDL_Color Color::BLANCO() {

	SDL_Color blanco = {255,255,255};

	return blanco;
}

SDL_Color Color::NEGRO() {

	SDL_Color negro = {0,0,0};

	return negro;
}


SDL_Color Color::getColor() {

	return color;
}

void Color::setColor(SDL_Color color) {

	this->color = color;
}
